﻿using System;
using System.Collections.Generic;
using System.Text;
using ATSModel;
using ATSIDAL;
using ATSModel.T_ReportInfo; 
namespace ATSBLL
{
    public class PIMRepairData : BaseService<PIMRepairInfo>
    {

        private static readonly IPIMRepair dal = DALFactory.DataAccess.CreatePIMRepairReport();

        public override void SetCurrentRepository()
        {
            CurrentRepository = dal;
        }

      
        public IList<PIMRepairInfo> GetPIMRepairData()
        {
            return dal.GetPIMRepairAllInfo();
        }



        public IList<PIMRepairInfo> GetPIMRepairInfo(DateTime dt1, DateTime dt2)
        {
            return dal.GetPIMRepairInfo(dt1, dt2);
        }
    }
}
